package br.cns;


public class MetricHelper {
	private static final MetricHelper instance = new MetricHelper();
	
	public static MetricHelper getInstance(){
		return instance;
	}
	
	public double calculate(TMetric metric, int[][] matrix){
		return MetricFactory.getInstance().find(metric.toString()).calculate(matrix);
	}

}
